package com.sduept.i1.model;

// 耐张线夹无线温度数据报
public class WirelessTemperatureData {
	private String componentId; // 被监测设备ID
	private int timeStamp; // 采集时间
	private byte unitSum; // 采集单元总数
	private byte[] unitNo; // 采集单元序号
	private short[] sensorId; // 温度传感器ID
	private float[] temperature; // 温度传感器：温度值
	private float[] bat; // 温度传感器：电池电压
	
	public String getComponentId() {
		return componentId;
	}
	public void setComponentId(String componentId) {
		this.componentId = String.format("%-17s", componentId);
	}
	public int getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(int timeStamp) {
		this.timeStamp = timeStamp;
	}
	public byte getUnitSum() {
		return unitSum;
	}
	public void setUnitSum(byte unitSum) {
		this.unitSum = unitSum;
	}
	public byte[] getUnitNo() {
		return unitNo;
	}
	public void setUnitNo(byte[] unitNo) {
		this.unitNo = unitNo;
	}
	public short[] getSensorId() {
		return sensorId;
	}
	public void setSensorId(short[] sensorId) {
		this.sensorId = sensorId;
	}
	public float[] getTemperature() {
		return temperature;
	}
	public void setTemperature(float[] temperature) {
		this.temperature = temperature;
	}
	public float[] getBat() {
		return bat;
	}
	public void setBat(float[] bat) {
		this.bat = bat;
	}
	
}
